﻿@{
    ViewBag.Title = "Home Page";
}
<h2>@ViewBag.Message</h2>
<script type="text/javascript">
    function GenerateReport() {
        //document.getElementById("myReport").src = "../../Reports/Manufactorys/ReportNsx.aspx"
        document.getElementById("myReport").src = '@Url.Content("~/Reports/Device_Stations/Re_Device_Stations_Sum/Re_Device_Stations_Sum.aspx")';
        /**/
        /*if required, you can pass more values as querystring like customerTerritoryID*/

    }
</script>
<body onload="GenerateReport();">
    <table style="width:100%; height:450px">
        <tr>
            <td>
                <table>
                    <tr>
                    <div align="center" style="margin-bottom:10px;"><h1>BÁO CÁO THIẾT BỊ TRONG TRẠM</h1></div>
                        @*<td>
                            Nhấn nút để xem báo cáo &nbsp;&nbsp;&nbsp;&nbsp;
                        </td>
                        <td>
                            <input class="submit-green" type="button" id="btnGenerate" value="Xem" onclick="GenerateReport();" />
                        
                        </td>*@
                    </tr>
                </table>
            </td>
        </tr>
        <tr>
            <td>
                <iframe id="myReport" width="90%" height="700px"></iframe>
            </td>
        </tr>
    </table>
</body>